home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / cluster / zbang / zbang!.doc < prev    next >
Encoding:
Text File  |  1993-02-27  |  4.4 KB  |  112 lines

  1. The following program for cluster SYSOPs is available from SM0FLY ,
  2. Address :
  3. SM0FLY
  4. Bram Bottema
  5. Stanganvaegen 13
  6. 14041 SORUNDA
  7. SWEDEN
  8.  
  9.  
  10.                    >>>   PACKETCLUSTER UTILITY  <<<
  11.  
  12.  
  13.                 Description of the ZBANG! (c) program
  14.                 By: Alexander Jean-Claude Bottema  ( SM0FLY/QRP )
  15.                 Address: SM0FLY @ SK0AR.STHLM.AB.SWE.EU
  16.  
  17.  
  18. Program usage                 : Only for DX-packetcluster(C) DX spot files
  19. Output created                : Sorted score list of number DX-spots/user
  20. Minimum memory required       : 160 KByte. PacketCluster frees 200KB on a
  21.                                 DOS SHELL  command as standard.
  22.                                 So, we are on the safe side.  SET PCSAVMEM=0
  23.                                 is therefore not necessary. 
  24. Min. diskspace for temp-files : 1 MByte
  25. Operating system              : MSDOS  ( ZBANG! has been tested on MSD 5.0 )
  26. Maximumsize of input file     : UNLIMITED SIZE of DX.DAT
  27. Speed (approx.)               : A DX.DAT file of 1.5 MByte is sorted within
  28.                                 20 seconds using a 386 / 33MHz and CACHE.
  29. Error-messages                : Error report on:  a) Not enough memory
  30.                                                   b) Files not found
  31.                                                   c) Invalid TEMP directory
  32. Programmed in                 : C++ using optimum algorithm using Merge &
  33.                                 Quicksort O(n log n) for MESSY DOSE (MSDOS)
  34.                                 environments.
  35. Compiler                      : ZORTECH C++
  36. Syntax                        : ZBANG! inputfilename minimumscore >>appendfile
  37.                            or : ZBANG! inputfilename minimumscore >filename
  38.                                 ZBANG! inputfilename minimumscore
  39.  
  40.                           e.g.: ZBANG! DX.DAT 50 >>DXSCORE
  41.                                 (appending to DXSCORE)
  42.                                                         
  43.                            or : ZBANG! DX.DAT 50 >DXSCORE 
  44.                                 (creating outputfile DXSCORE) 
  45.                                   
  46.                            or : ZBANG! DX.DAT 50
  47.                                 (output to screen only)
  48.  
  49. >>>>>Note : There must be an environment variable TEMP set to the
  50.             directory where to store the temporary files.
  51.             And the TEMP directory should really exist ..ofcourse !
  52.  
  53.       e.g : SET TEMP=C:\DOS\TEMP
  54.             ( This should be in your AUTOEXEC.BAT file )
  55.  
  56.  
  57. The ZBANG! has such a speed that it easely can be invoked in a
  58. MONTHLY.CMD file. Below follows an example how this is done at the
  59. Stockholm DX cluster SK0AR-6 .
  60.  
  61. Lines marked with ! are commentlines within the MONTHLY.CMD file
  62.  
  63.  
  64.                ------part of MONTHLY.CMD file---------
  65. !
  66. !Jump to DOS in directory PACKCLUS and copy the headerfile SCORE.PRE
  67. !to a second file DXSCORE which is used to append the ZBANG! outputfile.
  68. !
  69. DOS/NOWAIT COPY SCORE.PRE DXSCORE
  70. !
  71. !Now create the outputfile and append it to the headerfile DXSCORE
  72. !Users with less than 50 DX-spots are not displayed
  73. !
  74. DOS/NOWAIT ZBANG! DX.DAT 50 >>DXSCORE
  75. !
  76. !Copy the DXSCORE outputfile to the ARCHIVE area
  77. !
  78. DOS/NOWAIT COPY DXSCORE C:\PACKCLUS\ARCHIVE\DXSCORE
  79. !
  80. !Send the DXSCORE file to address ALL and distribute it over the
  81. !Clusternetwork using the clustercommand 'FILESEND'
  82. !
  83. FILESEND/ARCH DXSCORE
  84. ALL
  85. DX scorelist SK0AR-6
  86. !
  87. ANNOUNCE New DX-spot list available in MSG directory ! 73/Bram
  88. !
  89.                   ---------End of example-----------
  90.  
  91.  
  92.         Packetcluster<R> is a trademark of Pavillion Software
  93.                
  94. Post Scriptum .>>>
  95.  
  96. Well the above mentioned algorithm is a well documented sorting method for
  97. large arrays. As many of us are not aware of the awful limitations of
  98. MSDOS, we made on the SAME PC ( 486 50MHZ with 8MB memory ) a comparation
  99. by running the same program in MSDOS and in UN*X (LINUX) environment.
  100. The MSDOS model was written in C++ and compiled with the ZORTECH C++ compiler.
  101. The UN*X (LINUX) model was written in C++ as well and compiled with the
  102. famous GNU ++ compiler.
  103. ON THE SAME MACHINE THE UN*X (LINUX) ENVIRONMENT WORKED 4 TIMES FASTER !
  104. Isn't it time to forget all about MSDOS and swap to a REAL operating
  105. system now ???
  106. I hope the 'pain in the neck MSDOS ( MESSY DOSE)' has seen it's last days..
  107.  
  108. 73/Bram SM0FLY
  109.  
  110. /EX
  111.  
  112.